{% extends "base.html" %}

{% block content %}
	<h1>Welcome {% if name != None: %}{{name}}{% endif %}</h1>
	<br>
	{% for e in entries: %}
	<hr>
	<div class="entry">
		<div class = "entry-created">Created on: {{e.created}}</div>
		<div class = "entry-subject">{{e.subject}}</div>
		<pre class = "entry-content">{{e.content}}</pre>
	</div>
	<br>
	{% endfor %}

{% endblock %}